home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
CAD
/
PKEY11_1.ARJ
/
UT.LSP
< prev
next >
Wrap
Text File
|
1992-03-14
|
527b
|
16 lines
;Easy underline text
;
; ********Patrick J. McKee, author********
; ****Copyright 1992, Power Key tm****
;
(Defun c:ut()
(prompt "\nselect text to underline.")
(setq ss(ssget)len(sslength ss)count 0)
(while(not(equal len count))
(setq ent(entget(ssname ss count)))
(if(equal(cdr(assoc 0 ent))"TEXT")
(progn(setq text(cdr(assoc 1 ent))
text(strcat "%%u" text "%%u")
ent(subst(cons 1 text)(assoc 1 ent)ent))
(entmod ent)))
(setq count(1+ count))))